<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title>jbk数据格式</title>
	<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
</head>
<body>
	<input type="button" value="获取数据"/>
	<div >
	
	</div>
	<script>
		$('input').click(function(){
			var ul = $('#info>ul');
			$.ajax({
				url:'/thinkphp/Public/text.txt?'+Math.random(),
				type:'get',
				success:function(data){
					$('div').html(data);
				}
			});
		});
	</script>
</body>
</html>